import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { VirtualCharacterController } from './virtual-character.controller';
import { VirtualCharacterService } from './virtual-character.service';
import { VirtualCharacter } from './virtual-character.entity';
import { Appellation } from './entities/appellation.entity';
import { Relationship } from './entities/relationship.entity';
import { VoiceTone } from './entities/voice-tone.entity';
import { CharacterSetting } from './entities/character-setting.entity';
import jwt from 'src/config/jwt';
import { User } from 'src/user/user.entity';
import { UserService } from 'src/user/user.service';


@Module({
  imports: [
    TypeOrmModule.forFeature([
      VirtualCharacter,
      Appellation,
      Relationship,
      VoiceTone,
      CharacterSetting,
      User
    ]),
    jwt
  ],
  controllers: [VirtualCharacterController],
  providers: [VirtualCharacterService, UserService],
})
export class VirtualCharacterModule {} 